package com.face.gaoml.netlibrary.data.exception;

/**
 * Created by gml on 16/12/9.
 */

public class ApiException extends RuntimeException {

    private int errorCode;

    public ApiException(int code, String msg) {
        super(msg);
        this.errorCode = code;
    }


    public int getErrorCode() {
        return errorCode;
    }
}
